package com.chengliang.bbs.type;

import com.chengliang.bbs.type.base.BaseEnum;
import lombok.Getter;

/**
 * @author chengliang
 * 用户登录类型
 */
@Getter
public enum UserIdentityType implements BaseEnum {

    /**
     * 邮箱
     */
    email(601,"邮箱"),
    phone(602,"手机号"),
    qq(603,"QQ"),
    weixin(604,"微信"),
    weibo(605,"微博");


    /**
     * 存储到数据库中的值
     */
    private Integer code;

    /**
     * 描述
     */
    private String describe;


    UserIdentityType(Integer code,String describe) {
        this.code=code;
        this.describe=describe;
    }

}

